home *** CD-ROM | disk | FTP | other *** search
- Path: susx.ac.uk!tepd6
- From: tepd6@central.susx.ac.uk (George Rattray)
- Newsgroups: comp.lang.c
- Subject: Storing C Functions In An Array?
- Date: 27 Mar 1996 18:37:59 GMT
- Organization: University of Sussex
- Message-ID: <4jc1u7$5e9@infa.central.susx.ac.uk>
- NNTP-Posting-Host: solx1.central.susx.ac.uk
- X-Newsreader: TIN [version 1.2 PL2]
-
- Can someone help me, I'm trying to store functions in an array at
- compile time. The following functions are defined as
-
- struct complex func(struct complex, CHNL);
-
- I want to store them in an array ch[N];
-
- Therefor using the function with an index as
-
- ret = ch[0](x,chnl);
-
- Any help will be most appreciated, Thanks
-
- George
-
-